<template>
  <div>
    <div class="head">
      <p class="text">账号与绑定</p>
      <van-icon
        @click="onClickLeft()"
        size="20"
        color="whitesmoke"
        name="arrow-left"
        class="icon"
      />
    </div>
    <br />
    <br />
    <div class="con1" @click="jumpChangeUserName()">
      <span class="sp3">用户名</span>
      <span class="sp2">sobersee</span>
      <van-icon class="sp4" name="arrow" />
    </div>
    <div class="con1" @click="jumpPhone()">
      <span class="sp3">手机号</span>
      <span class="sp5">点击绑定手机号</span>
      <van-icon class="sp4" name="arrow" />
    </div>
    <div class="con1" @click="jumpEmail()">
      <span class="sp3">邮箱</span>
      <span class="sp6">点击绑定邮箱</span>
      <van-icon class="sp4" name="arrow" />
    </div>
    <br>
    <span>社交账号绑定</span>
    <br>
    <br>
    <div class="con1">
      <span class="sp3">QQ</span>
      <span class="sp2">未绑定</span>
      <van-icon class="sp4" name="arrow" />
    </div>
    <br>
    <div class="con1" @click="jumpPwd()">
      <span class="sp3">设置密码</span>
      <span class="sp6">点击设置密码</span>
      <van-icon class="sp4" name="arrow" />
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    onClickLeft() {
      this.$router.push('/change');
    },
    jumpChangeUserName(){
      this.$router.push('/username');
    },
    jumpPhone(){
        this.$router.push('/phone');
    },
    jumpEmail(){
        this.$router.push('/email');

    },
    jumpPwd(){
        this.$router.push('/pwd');

    }
  },
};
</script>
<style scoped>
.head {
  width: 100%;
  height: 4rem;
  background-color: rgb(108, 144, 243);
}
.text {
  text-align: center;
  font-size: 1.6rem;
  color: whitesmoke;
  line-height: 4rem;
}
.icon {
  position: absolute;
  top: 1.1rem;
}
.con1 {
  width: 100%;
  height: 4rem;
  background-color: whitesmoke;
  position: relative;
  /* border-top: 0.1rem solid #cccccc; */
}
.sp3 {
  position: absolute;
  line-height: 4rem;
  left: 1rem;
  color: rgb(56, 55, 55);
  font-size: 1.6rem;
}
.sp2 {
  position: absolute;
  top: 1.2rem;
  left: 27rem;
  color: rgb(90, 88, 88);
  font-size: 1.6rem;
}
.sp5 {
  position: absolute;
  top: 1.2rem;
  left: 23rem;
  color: rgb(90, 88, 88);
  font-size: 1.6rem;
}
.sp6 {
  position: absolute;
  top: 1.1rem;
  left: 24.5rem;
  color: rgb(90, 88, 88);
  font-size: 1.6rem;
}
.sp4 {
  position: absolute;
  top: 1.3rem;
  left: 35rem;
  color: rgb(90, 88, 88);
  font-size: 1.6rem;
}
</style>